﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site/Master/Base.Master" AutoEventWireup="true" CodeBehind="VerPedido.aspx.cs" Inherits="ByBikeShop.Cliente.Pages.VerPedido" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
	<link href="../Styles/VerPedido.min.css" rel="stylesheet" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="placeholder" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Conteudo" runat="server">
	<section id="sectionVerPedido">
		<article id="articleInfoPedido">
			<h3>Info do pedido</h3>
			<br />
			<table>
				<tr>
					<td>Número do Pedido: </td>
					<td>
						<asp:Label runat="server" ID="lblNumeroPedido"></asp:Label>
					</td>
				</tr>
				<tr>
					<td>Data do Pedido: </td>
					<td>
						<asp:Label runat="server" ID="lblDataPedido"></asp:Label>
					</td>
				</tr>
				<tr>
					<td>Status: </td>
					<td>
						<asp:Label runat="server" ID="lblStatus"></asp:Label>
					</td>
				</tr>
				<tr>
					<td style="vertical-align: top">Enviado para: </td>
					<td>
						<asp:Label runat="server" ID="lblEnvioPara"></asp:Label>
					</td>
				</tr>
			</table>

			<%--<h3>Atualizações do Status do Pedido</h3>
			<asp:GridView runat="server" ID="grdAtualizacoesStatus">
			</asp:GridView>--%>
		</article>
		<article id="articleSumarioCarrinho">
			<h3>Sumário do Carrinho</h3>
			<br />
			<asp:GridView runat="server" ID="grdCarrinho" AutoGenerateColumns="false" ClientIDMode="Static" GridLines="None">
				<Columns>
					<asp:TemplateField HeaderText="Produto" HeaderStyle-HorizontalAlign="Left">
						<ItemTemplate>
							<asp:HiddenField runat="server" ID="hdfID" Value='<%# Eval("ID") %>' />
							<asp:Image runat="server" ImageUrl='<%# Eval("ImagemProduto") %>' Height="200px" />
						</ItemTemplate>
					</asp:TemplateField>

					<asp:BoundField DataField="NomeProduto" />

					<asp:BoundField DataField="Quantidade" HeaderText="Quantidade" ItemStyle-HorizontalAlign="Center" />

					<asp:BoundField DataField="Preco" HeaderText="Preço" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Right" />
				</Columns>
			</asp:GridView>
			<div style="text-align: right; font-weight: bold; font-size: 30px;">
				Custo Total: <asp:Label runat="server" ID="lblCustoTotal"></asp:Label>
			</div>
		</article>
	</section>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="Scripts" runat="server">
</asp:Content>
